package com.demo.date.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
public class StudentDTO {

    //学生姓名
    private String name;

    //学号
    private String studentNum;

    //日期
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date date;

}
